using System;
using System.Collections.Generic;
using System.Text;
using DAL;
using Models;

namespace BLL
{

    public static partial class TeamManager
    {
        public static bool AddTeam(Team team)
        {
            return TeamService.AddTeam(team);
        }

        public static bool DeleteTeamByID(int iD)
        {
            return TeamService.DeleteTeamByID(iD);
        }

		public static bool ModifyTeam(Team team)
        {
            return TeamService.ModifyTeam(team);
        }
        
        public static IList<Team> GetAllTeams()
        {
            return TeamService.GetAllTeams();
        }

        public static Team GetTeamByID(int iD)
        {
            return TeamService.GetTeamByID(iD);
        }

    }
}
